package com.netsdk.web.callback;

import com.netsdk.lib.NetSDKLib;
import com.sun.jna.Pointer;

/**
 * @Author aqie
 * @Date 2022/3/25 15:31
 * @desc
 */
public class RegisterCallBack implements NetSDKLib.fServiceCallBack {

    private RegisterCallBack() {
    }

    private static class CallBackHolder {
        private static final RegisterCallBack cb = new RegisterCallBack();
    }

    public static RegisterCallBack getInstance() {
        return CallBackHolder.cb;
    }

    @Override
    public int invoke(NetSDKLib.LLong lHandle, String pIp, int wPort,
                      int lCommand, Pointer pParam, int dwParamLen, Pointer dwUserData) {
        return 0;
    }
}
